<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="login.s">
	用户名：<input name="name"><br>
	密码：<input name="pwd"><br>
	<button>登录</button>
</form>
</body>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
	// 获取当前cookie中保存的伴娘的名字  a=100;b=200;c=300;
	var bnName = document.cookie.replace(/.*bnName=(\w+).*/, "$1");
	console.info("bnName=" + bnName);

   var arr = ["chitose","haruto","hibiki","hijiki","izumi","koharu","miku","ni-j","nico","nipsilon","nito","shizuku","tororo","tsumiki","unitychan","wanko","z16"];
	function bn(){
		let i = parseInt(Math.random() * arr.length);
		let name = bnName || arr[i]; 
		console.info(name);
	　　L2Dwidget.init({ "model": { jsonPath:
		　　"https://unpkg.com/live2d-widget-model-"+name+"@1.0.5/assets/"+name+".model.json",
		　　"scale": 1 }, "display": { "position": "right", "width": 100, "height": 200,
		　　"hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 },
		　　"react": { "opacityDefault": 0.6, "opacityOnHover": 0.2 } });
	}
	bn();
</script>
</html>